package com.boot.DAO;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class UserLoginDAO {
    @NotBlank
    private String username;
    @Pattern(regexp="[a-zA-z\\d]{6,}")
    private String password;
}
